When creating or modifying scripts, you can only add statements that perform actions on windows or controls if the windows or controls are already in the application repository. If QA Wizard Pro cannot add windows or controls you need to test during recording because they do not exist in the application or cannot be displayed when recording, you can manually add them to the repository.
You may want to manually add windows and controls to the repository if:
You can add new windows and controls to the repository and configure the properties and search criteria based on your knowledge of the application. You can also duplicate an existing window and control and then modify the properties of the new control to make it unique in the repository.
Note: For best results, record scripts or populate repositories to capture window and controls information whenever possible. Only manually add windows or controls if you are familiar with how QA Wizard Pro uses properties and expected property values to locate controls during playback. See Modifying window and control properties.
1. Select the application version in the Application Repository pane and choose Repository > Modify Version Windows and Controls.
The Modify Windows and Controls dialog box opens.
2. To add a window, select the version and click Add Child or select a window and click Add Sibling.
To add a control, select a window and click Add Child or select a control and click Add Sibling.
See Manually adding windows and controls to application repositories.
3. Select a window or control and click Duplicate to duplicate it. See Duplicating windows and controls.
Tip: To move a user-added control to group it with a different window, drag it to the correct window. This is helpful when duplicating existing controls to use with other windows in the application.
4. Select a window or control and click Rename to rename it. See Renaming windows and controls.
5. Select a window or control and click Properties to modify the properties, such as the control type, search method and criteria, and expected property values. See Editing and deleting user-added windows and controls.
6. Select a window or control and click Delete to delete it. See Editing and deleting user-added windows and controls.
7. Click OK to save the changes.